package com.weharvest.edu.service;

import com.weharvest.edu.dto.BackstageLoginDTO;
import com.weharvest.edu.entity.BackstageMenu;
import com.weharvest.edu.view.BackstageUserDetailView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface EduService {
    // 登录接口
    public String login(BackstageLoginDTO backstageLoginDTO, HttpServletRequest request);

    // 用户信息兑换接口
    public BackstageUserDetailView detail(
            HttpServletRequest request,
            HttpServletResponse response);


    // 查看某一后台用户的所有菜单
    public List<BackstageMenu> findMenus(String uid);

}
